home *** CD-ROM | disk | FTP | other *** search
/ Freelog 121 / FreelogMagazineJuilletAout2014-No121.iso / Outils / Adobe-Air / adobe-air_13.exe / [0] / Adobe AIR / Versions / 1.0 / Adobe AIR Application Installer.swf / scripts / SecurityInfo.as < prev    next >
Text File  |  2014-03-27  |  35KB  |  1,014 lines

  1. package
  2. {
  3.    import components.LocalizedLabel;
  4.    import components.LocalizedText;
  5.    import flash.accessibility.Accessibility;
  6.    import flash.accessibility.AccessibilityProperties;
  7.    import flash.display.DisplayObject;
  8.    import flash.events.Event;
  9.    import flash.events.MouseEvent;
  10.    import flash.utils.getDefinitionByName;
  11.    import mx.binding.Binding;
  12.    import mx.binding.BindingManager;
  13.    import mx.binding.IBindingClient;
  14.    import mx.binding.IWatcherSetupUtil;
  15.    import mx.containers.HBox;
  16.    import mx.containers.VBox;
  17.    import mx.controls.HRule;
  18.    import mx.controls.Image;
  19.    import mx.controls.LinkButton;
  20.    import mx.controls.ProgressBar;
  21.    import mx.controls.Spacer;
  22.    import mx.core.DeferredInstanceFromFunction;
  23.    import mx.core.UIComponentDescriptor;
  24.    import mx.core.mx_internal;
  25.    import mx.events.FlexEvent;
  26.    import mx.events.PropertyChangeEvent;
  27.    import mx.states.AddChild;
  28.    import mx.states.RemoveChild;
  29.    import mx.states.State;
  30.    import mx.styles.CSSStyleDeclaration;
  31.    
  32.    use namespace mx_internal;
  33.    
  34.    public class SecurityInfo extends VBox implements IBindingClient
  35.    {
  36.       
  37.       private static var _watcherSetupUtil:IWatcherSetupUtil;
  38.        
  39.       
  40.       private var _embed_mxml_assets_down_arrow_png_328451940:Class;
  41.       
  42.       private var _5542018downArrowNative:Class;
  43.       
  44.       private var _documentDescriptor_:UIComponentDescriptor;
  45.       
  46.       private var _1501004228rightArrowNative:Class;
  47.       
  48.       private var _229542092greenCircleIcon:Class;
  49.       
  50.       private var _2057878774redSecurityIcon:Class;
  51.       
  52.       private var _1415400627rightArrow:Class;
  53.       
  54.       private var _463497974appIconNativeBG:Class;
  55.       
  56.       private var _265384475moreOptionsButton:LinkButton;
  57.       
  58.       mx_internal var _bindingsByDestination:Object;
  59.       
  60.       public var _SecurityInfo_RemoveChild1:RemoveChild;
  61.       
  62.       private var _168694644restrictedIcon:Image;
  63.       
  64.       private var _1869917749airPackageIcon:Class;
  65.       
  66.       public var _SecurityInfo_HBox3:HBox;
  67.       
  68.       private var _1707366196redBlockedIcon:Class;
  69.       
  70.       public var _SecurityInfo_LocalizedText2:LocalizedText;
  71.       
  72.       private var _1273099399downArrow:Class;
  73.       
  74.       private var _354487367systemAccessField:LocalizedLabel;
  75.       
  76.       mx_internal var _watchers:Array;
  77.       
  78.       private var _992840477airIcon:Class;
  79.       
  80.       private var _1425659039verifiedIcon:Image;
  81.       
  82.       private var _1197773823appIconBG:Class;
  83.       
  84.       private var _1654957862redCircleIcon:Class;
  85.       
  86.       public var _SecurityInfo_LocalizedLabel2:LocalizedLabel;
  87.       
  88.       mx_internal var _bindingsBeginWithWord:Object;
  89.       
  90.       private var _726419420securityHRule:HRule;
  91.       
  92.       private var _703057299yellowSecurityIcon:Class;
  93.       
  94.       mx_internal var _bindings:Array;
  95.       
  96.       private var _406672806identityVerified:Boolean = false;
  97.       
  98.       public function SecurityInfo()
  99.       {
  100.          this._documentDescriptor_ = new UIComponentDescriptor({
  101.             "type":VBox,
  102.             "propertiesFactory":function():Object
  103.             {
  104.                return {"childDescriptors":[new UIComponentDescriptor({
  105.                   "type":Spacer,
  106.                   "propertiesFactory":function():Object
  107.                   {
  108.                      return {"height":14};
  109.                   }
  110.                }),new UIComponentDescriptor({
  111.                   "type":HRule,
  112.                   "id":"securityHRule",
  113.                   "events":{"creationComplete":"__securityHRule_creationComplete"},
  114.                   "propertiesFactory":function():Object
  115.                   {
  116.                      return {
  117.                         "percentWidth":100,
  118.                         "height":2
  119.                      };
  120.                   }
  121.                }),new UIComponentDescriptor({
  122.                   "type":LinkButton,
  123.                   "id":"moreOptionsButton",
  124.                   "events":{
  125.                      "addedToStage":"__moreOptionsButton_addedToStage",
  126.                      "removedFromStage":"__moreOptionsButton_removedFromStage",
  127.                      "click":"__moreOptionsButton_click"
  128.                   },
  129.                   "stylesFactory":function():void
  130.                   {
  131.                      this.icon = _embed_mxml_assets_down_arrow_png_328451940;
  132.                   },
  133.                   "propertiesFactory":function():Object
  134.                   {
  135.                      return {
  136.                         "labelPlacement":"left",
  137.                         "visible":false
  138.                      };
  139.                   }
  140.                })]};
  141.             }
  142.          });
  143.          this._992840477airIcon = SecurityInfo_airIcon;
  144.          this._1869917749airPackageIcon = SecurityInfo_airPackageIcon;
  145.          this._703057299yellowSecurityIcon = SecurityInfo_yellowSecurityIcon;
  146.          this._2057878774redSecurityIcon = SecurityInfo_redSecurityIcon;
  147.          this._1707366196redBlockedIcon = SecurityInfo_redBlockedIcon;
  148.          this._1654957862redCircleIcon = SecurityInfo_redCircleIcon;
  149.          this._229542092greenCircleIcon = SecurityInfo_greenCircleIcon;
  150.          this._1197773823appIconBG = SecurityInfo_appIconBG;
  151.          this._463497974appIconNativeBG = SecurityInfo_appIconNativeBG;
  152.          this._1273099399downArrow = SecurityInfo_downArrow;
  153.          this._1415400627rightArrow = SecurityInfo_rightArrow;
  154.          this._5542018downArrowNative = SecurityInfo_downArrowNative;
  155.          this._1501004228rightArrowNative = SecurityInfo_rightArrowNative;
  156.          this._embed_mxml_assets_down_arrow_png_328451940 = SecurityInfo__embed_mxml_assets_down_arrow_png_328451940;
  157.          this._bindings = [];
  158.          this._watchers = [];
  159.          this._bindingsByDestination = {};
  160.          this._bindingsBeginWithWord = {};
  161.          super();
  162.          mx_internal::_document = this;
  163.          if(!this.styleDeclaration)
  164.          {
  165.             this.styleDeclaration = new CSSStyleDeclaration();
  166.          }
  167.          this.styleDeclaration.defaultFactory = function():void
  168.          {
  169.             this.verticalGap = 0;
  170.          };
  171.          this.states = [this._SecurityInfo_State1_c()];
  172.       }
  173.       
  174.       public static function set watcherSetupUtil(param1:IWatcherSetupUtil) : void
  175.       {
  176.          SecurityInfo._watcherSetupUtil = param1;
  177.       }
  178.       
  179.       private function set downArrowNative(param1:Class) : void
  180.       {
  181.          var _loc2_:Object = this._5542018downArrowNative;
  182.          if(_loc2_ !== param1)
  183.          {
  184.             this._5542018downArrowNative = param1;
  185.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"downArrowNative",_loc2_,param1));
  186.          }
  187.       }
  188.       
  189.       [Bindable(event="propertyChange")]
  190.       private function get appIconBG() : Class
  191.       {
  192.          return this._1197773823appIconBG;
  193.       }
  194.       
  195.       private function set yellowSecurityIcon(param1:Class) : void
  196.       {
  197.          var _loc2_:Object = this._703057299yellowSecurityIcon;
  198.          if(_loc2_ !== param1)
  199.          {
  200.             this._703057299yellowSecurityIcon = param1;
  201.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"yellowSecurityIcon",_loc2_,param1));
  202.          }
  203.       }
  204.       
  205.       [Bindable(event="propertyChange")]
  206.       private function get redSecurityIcon() : Class
  207.       {
  208.          return this._2057878774redSecurityIcon;
  209.       }
  210.       
  211.       [Bindable(event="propertyChange")]
  212.       private function get appIconNativeBG() : Class
  213.       {
  214.          return this._463497974appIconNativeBG;
  215.       }
  216.       
  217.       [Bindable(event="propertyChange")]
  218.       private function get redCircleIcon() : Class
  219.       {
  220.          return this._1654957862redCircleIcon;
  221.       }
  222.       
  223.       private function set redSecurityIcon(param1:Class) : void
  224.       {
  225.          var _loc2_:Object = this._2057878774redSecurityIcon;
  226.          if(_loc2_ !== param1)
  227.          {
  228.             this._2057878774redSecurityIcon = param1;
  229.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redSecurityIcon",_loc2_,param1));
  230.          }
  231.       }
  232.       
  233.       private function set downArrow(param1:Class) : void
  234.       {
  235.          var _loc2_:Object = this._1273099399downArrow;
  236.          if(_loc2_ !== param1)
  237.          {
  238.             this._1273099399downArrow = param1;
  239.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"downArrow",_loc2_,param1));
  240.          }
  241.       }
  242.       
  243.       [Bindable(event="propertyChange")]
  244.       public function get moreOptionsButton() : LinkButton
  245.       {
  246.          return this._265384475moreOptionsButton;
  247.       }
  248.       
  249.       private function _SecurityInfo_Spacer2_c() : Spacer
  250.       {
  251.          var _loc1_:Spacer = new Spacer();
  252.          _loc1_.height = 12;
  253.          if(!_loc1_.document)
  254.          {
  255.             _loc1_.document = this;
  256.          }
  257.          return _loc1_;
  258.       }
  259.       
  260.       private function _SecurityInfo_HBox2_c() : HBox
  261.       {
  262.          var _loc1_:HBox = new HBox();
  263.          if(!_loc1_.document)
  264.          {
  265.             _loc1_.document = this;
  266.          }
  267.          _loc1_.addChild(this._SecurityInfo_LocalizedLabel1_c());
  268.          _loc1_.addChild(this._SecurityInfo_LocalizedLabel2_i());
  269.          return _loc1_;
  270.       }
  271.       
  272.       private function _SecurityInfo_Spacer6_c() : Spacer
  273.       {
  274.          var _loc1_:Spacer = new Spacer();
  275.          _loc1_.height = 10;
  276.          if(!_loc1_.document)
  277.          {
  278.             _loc1_.document = this;
  279.          }
  280.          return _loc1_;
  281.       }
  282.       
  283.       [Bindable(event="propertyChange")]
  284.       public function get securityHRule() : HRule
  285.       {
  286.          return this._726419420securityHRule;
  287.       }
  288.       
  289.       private function _SecurityInfo_LocalizedText3_c() : LocalizedText
  290.       {
  291.          var _loc1_:LocalizedText = new LocalizedText();
  292.          _loc1_.resourceName = "lblFullAccess";
  293.          _loc1_.bundleName = "SecurityInfo";
  294.          _loc1_.percentWidth = 100;
  295.          if(!_loc1_.document)
  296.          {
  297.             _loc1_.document = this;
  298.          }
  299.          return _loc1_;
  300.       }
  301.       
  302.       private function _SecurityInfo_LocalizedLabel1_c() : LocalizedLabel
  303.       {
  304.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  305.          _loc1_.resourceName = "lblPublisherIdentity";
  306.          _loc1_.bundleName = "SecurityInfo";
  307.          _loc1_.minWidth = 115;
  308.          if(!_loc1_.document)
  309.          {
  310.             _loc1_.document = this;
  311.          }
  312.          return _loc1_;
  313.       }
  314.       
  315.       private function _SecurityInfo_VBox4_c() : VBox
  316.       {
  317.          var _loc1_:VBox = new VBox();
  318.          _loc1_.percentWidth = 100;
  319.          _loc1_.setStyle("horizontalAlign","left");
  320.          _loc1_.setStyle("verticalGap",-3);
  321.          if(!_loc1_.document)
  322.          {
  323.             _loc1_.document = this;
  324.          }
  325.          _loc1_.addChild(this._SecurityInfo_HBox4_c());
  326.          _loc1_.addChild(this._SecurityInfo_Spacer6_c());
  327.          _loc1_.addChild(this._SecurityInfo_LocalizedText3_c());
  328.          return _loc1_;
  329.       }
  330.       
  331.       [Bindable(event="propertyChange")]
  332.       private function get redBlockedIcon() : Class
  333.       {
  334.          return this._1707366196redBlockedIcon;
  335.       }
  336.       
  337.       [Bindable(event="propertyChange")]
  338.       private function get airPackageIcon() : Class
  339.       {
  340.          return this._1869917749airPackageIcon;
  341.       }
  342.       
  343.       public function set moreOptionsButton(param1:LinkButton) : void
  344.       {
  345.          var _loc2_:Object = this._265384475moreOptionsButton;
  346.          if(_loc2_ !== param1)
  347.          {
  348.             this._265384475moreOptionsButton = param1;
  349.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"moreOptionsButton",_loc2_,param1));
  350.          }
  351.       }
  352.       
  353.       [Bindable(event="propertyChange")]
  354.       public function get systemAccessField() : LocalizedLabel
  355.       {
  356.          return this._354487367systemAccessField;
  357.       }
  358.       
  359.       public function set securityHRule(param1:HRule) : void
  360.       {
  361.          var _loc2_:Object = this._726419420securityHRule;
  362.          if(_loc2_ !== param1)
  363.          {
  364.             this._726419420securityHRule = param1;
  365.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"securityHRule",_loc2_,param1));
  366.          }
  367.       }
  368.       
  369.       public function set identityVerified(param1:Boolean) : void
  370.       {
  371.          var _loc2_:Object = this._406672806identityVerified;
  372.          if(_loc2_ !== param1)
  373.          {
  374.             this._406672806identityVerified = param1;
  375.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"identityVerified",_loc2_,param1));
  376.          }
  377.       }
  378.       
  379.       [Bindable(event="propertyChange")]
  380.       private function get rightArrow() : Class
  381.       {
  382.          return this._1415400627rightArrow;
  383.       }
  384.       
  385.       private function _SecurityInfo_Spacer5_c() : Spacer
  386.       {
  387.          var _loc1_:Spacer = new Spacer();
  388.          _loc1_.height = 10;
  389.          if(!_loc1_.document)
  390.          {
  391.             _loc1_.document = this;
  392.          }
  393.          return _loc1_;
  394.       }
  395.       
  396.       protected function accessibleName(param1:String, param2:String = null) : AccessibilityProperties
  397.       {
  398.          var _loc3_:AccessibilityProperties = new AccessibilityProperties();
  399.          _loc3_.name = LocalizationManager.getInstance().getString(param1,param2);
  400.          return _loc3_;
  401.       }
  402.       
  403.       private function _SecurityInfo_LocalizedText2_i() : LocalizedText
  404.       {
  405.          var _loc1_:LocalizedText = new LocalizedText();
  406.          this._SecurityInfo_LocalizedText2 = _loc1_;
  407.          _loc1_.percentWidth = 100;
  408.          _loc1_.resourceName = "lblPublisherUndetermined";
  409.          _loc1_.bundleName = "SecurityInfo";
  410.          _loc1_.id = "_SecurityInfo_LocalizedText2";
  411.          BindingManager.executeBindings(this,"_SecurityInfo_LocalizedText2",this._SecurityInfo_LocalizedText2);
  412.          if(!_loc1_.document)
  413.          {
  414.             _loc1_.document = this;
  415.          }
  416.          return _loc1_;
  417.       }
  418.       
  419.       private function _SecurityInfo_HBox1_c() : HBox
  420.       {
  421.          var _loc1_:HBox = new HBox();
  422.          _loc1_.percentWidth = 100;
  423.          _loc1_.setStyle("verticalAlign","top");
  424.          _loc1_.setStyle("horizontalGap",14);
  425.          if(!_loc1_.document)
  426.          {
  427.             _loc1_.document = this;
  428.          }
  429.          _loc1_.addChild(this._SecurityInfo_Image1_i());
  430.          _loc1_.addChild(this._SecurityInfo_VBox3_c());
  431.          return _loc1_;
  432.       }
  433.       
  434.       [Bindable(event="propertyChange")]
  435.       public function get verifiedIcon() : Image
  436.       {
  437.          return this._1425659039verifiedIcon;
  438.       }
  439.       
  440.       private function _SecurityInfo_AddChild2_c() : AddChild
  441.       {
  442.          var _loc1_:AddChild = new AddChild();
  443.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._SecurityInfo_VBox2_c);
  444.          return _loc1_;
  445.       }
  446.       
  447.       private function set airPackageIcon(param1:Class) : void
  448.       {
  449.          var _loc2_:Object = this._1869917749airPackageIcon;
  450.          if(_loc2_ !== param1)
  451.          {
  452.             this._1869917749airPackageIcon = param1;
  453.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"airPackageIcon",_loc2_,param1));
  454.          }
  455.       }
  456.       
  457.       private function set redBlockedIcon(param1:Class) : void
  458.       {
  459.          var _loc2_:Object = this._1707366196redBlockedIcon;
  460.          if(_loc2_ !== param1)
  461.          {
  462.             this._1707366196redBlockedIcon = param1;
  463.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redBlockedIcon",_loc2_,param1));
  464.          }
  465.       }
  466.       
  467.       private function _SecurityInfo_VBox3_c() : VBox
  468.       {
  469.          var _loc1_:VBox = new VBox();
  470.          _loc1_.percentWidth = 100;
  471.          _loc1_.setStyle("horizontalAlign","left");
  472.          _loc1_.setStyle("verticalGap",-3);
  473.          if(!_loc1_.document)
  474.          {
  475.             _loc1_.document = this;
  476.          }
  477.          _loc1_.addChild(this._SecurityInfo_HBox2_c());
  478.          _loc1_.addChild(this._SecurityInfo_Spacer4_c());
  479.          _loc1_.addChild(this._SecurityInfo_LocalizedText2_i());
  480.          return _loc1_;
  481.       }
  482.       
  483.       private function _SecurityInfo_Image2_i() : Image
  484.       {
  485.          var _loc1_:Image = new Image();
  486.          this.restrictedIcon = _loc1_;
  487.          _loc1_.addEventListener("creationComplete",this.__restrictedIcon_creationComplete);
  488.          _loc1_.id = "restrictedIcon";
  489.          BindingManager.executeBindings(this,"restrictedIcon",this.restrictedIcon);
  490.          if(!_loc1_.document)
  491.          {
  492.             _loc1_.document = this;
  493.          }
  494.          return _loc1_;
  495.       }
  496.       
  497.       private function _SecurityInfo_RemoveChild1_i() : RemoveChild
  498.       {
  499.          var _loc1_:RemoveChild = new RemoveChild();
  500.          this._SecurityInfo_RemoveChild1 = _loc1_;
  501.          BindingManager.executeBindings(this,"_SecurityInfo_RemoveChild1",this._SecurityInfo_RemoveChild1);
  502.          return _loc1_;
  503.       }
  504.       
  505.       public function __verifiedIcon_creationComplete(param1:FlexEvent) : void
  506.       {
  507.          this.verifiedIconComplete();
  508.       }
  509.       
  510.       public function __moreOptionsButton_removedFromStage(param1:Event) : void
  511.       {
  512.          this.moreOptionsButton.visible = false;
  513.       }
  514.       
  515.       private function _SecurityInfo_LocalizedLabel4_i() : LocalizedLabel
  516.       {
  517.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  518.          this.systemAccessField = _loc1_;
  519.          _loc1_.resourceName = "lblUnrestricted";
  520.          _loc1_.bundleName = "SecurityInfo";
  521.          _loc1_.styleName = "formItemText";
  522.          _loc1_.id = "systemAccessField";
  523.          if(!_loc1_.document)
  524.          {
  525.             _loc1_.document = this;
  526.          }
  527.          return _loc1_;
  528.       }
  529.       
  530.       public function __moreOptionsButton_click(param1:MouseEvent) : void
  531.       {
  532.          this.openPanel();
  533.       }
  534.       
  535.       [Bindable(event="propertyChange")]
  536.       private function get yellowSecurityIcon() : Class
  537.       {
  538.          return this._703057299yellowSecurityIcon;
  539.       }
  540.       
  541.       [Bindable(event="propertyChange")]
  542.       private function get downArrow() : Class
  543.       {
  544.          return this._1273099399downArrow;
  545.       }
  546.       
  547.       private function _SecurityInfo_bindingExprs() : void
  548.       {
  549.          var _loc1_:* = undefined;
  550.          _loc1_ = LocalizationManager.getInstance().getString("lblMoreOptions","SecurityInfo");
  551.          _loc1_ = this.moreOptionsButton;
  552.          _loc1_ = !!this.identityVerified ? this.greenCircleIcon : this.redCircleIcon;
  553.          _loc1_ = !!this.identityVerified ? "lblVerified" : "lblUnknown";
  554.          _loc1_ = !this.identityVerified;
  555.          _loc1_ = !this.identityVerified;
  556.          _loc1_ = !this.identityVerified;
  557.          _loc1_ = !this.identityVerified;
  558.          _loc1_ = this.redCircleIcon;
  559.       }
  560.       
  561.       [Bindable(event="propertyChange")]
  562.       private function get downArrowNative() : Class
  563.       {
  564.          return this._5542018downArrowNative;
  565.       }
  566.       
  567.       private function set rightArrowNative(param1:Class) : void
  568.       {
  569.          var _loc2_:Object = this._1501004228rightArrowNative;
  570.          if(_loc2_ !== param1)
  571.          {
  572.             this._1501004228rightArrowNative = param1;
  573.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"rightArrowNative",_loc2_,param1));
  574.          }
  575.       }
  576.       
  577.       override public function initialize() : void
  578.       {
  579.          var target:SecurityInfo = null;
  580.          var watcherSetupUtilClass:Object = null;
  581.          mx_internal::setDocumentDescriptor(this._documentDescriptor_);
  582.          var bindings:Array = this._SecurityInfo_bindingsSetup();
  583.          var watchers:Array = [];
  584.          target = this;
  585.          if(_watcherSetupUtil == null)
  586.          {
  587.             watcherSetupUtilClass = getDefinitionByName("_SecurityInfoWatcherSetupUtil");
  588.             watcherSetupUtilClass["init"](null);
  589.          }
  590.          _watcherSetupUtil.setup(this,function(param1:String):*
  591.          {
  592.             return target[param1];
  593.          },bindings,watchers);
  594.          var i:uint = 0;
  595.          while(i < bindings.length)
  596.          {
  597.             Binding(bindings[i]).execute();
  598.             i++;
  599.          }
  600.          mx_internal::_bindings = mx_internal::_bindings.concat(bindings);
  601.          mx_internal::_watchers = mx_internal::_watchers.concat(watchers);
  602.          super.initialize();
  603.       }
  604.       
  605.       public function set systemAccessField(param1:LocalizedLabel) : void
  606.       {
  607.          var _loc2_:Object = this._354487367systemAccessField;
  608.          if(_loc2_ !== param1)
  609.          {
  610.             this._354487367systemAccessField = param1;
  611.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"systemAccessField",_loc2_,param1));
  612.          }
  613.       }
  614.       
  615.       private function _SecurityInfo_Spacer4_c() : Spacer
  616.       {
  617.          var _loc1_:Spacer = new Spacer();
  618.          _loc1_.height = 10;
  619.          if(!_loc1_.document)
  620.          {
  621.             _loc1_.document = this;
  622.          }
  623.          return _loc1_;
  624.       }
  625.       
  626.       [Bindable(event="propertyChange")]
  627.       public function get restrictedIcon() : Image
  628.       {
  629.          return this._168694644restrictedIcon;
  630.       }
  631.       
  632.       private function _SecurityInfo_HBox4_c() : HBox
  633.       {
  634.          var _loc1_:HBox = new HBox();
  635.          if(!_loc1_.document)
  636.          {
  637.             _loc1_.document = this;
  638.          }
  639.          _loc1_.addChild(this._SecurityInfo_LocalizedLabel3_c());
  640.          _loc1_.addChild(this._SecurityInfo_LocalizedLabel4_i());
  641.          return _loc1_;
  642.       }
  643.       
  644.       private function _SecurityInfo_LocalizedText1_c() : LocalizedText
  645.       {
  646.          var _loc1_:LocalizedText = new LocalizedText();
  647.          _loc1_.percentWidth = 100;
  648.          _loc1_.useHTML = true;
  649.          _loc1_.resourceName = "msgPotentialSecurityRisk";
  650.          _loc1_.bundleName = "SecurityInfo";
  651.          if(!_loc1_.document)
  652.          {
  653.             _loc1_.document = this;
  654.          }
  655.          return _loc1_;
  656.       }
  657.       
  658.       public function __moreOptionsButton_addedToStage(param1:Event) : void
  659.       {
  660.          this.moreOptionsButton.visible = true;
  661.       }
  662.       
  663.       private function _SecurityInfo_AddChild1_c() : AddChild
  664.       {
  665.          var _loc1_:AddChild = new AddChild();
  666.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._SecurityInfo_Spacer2_c);
  667.          return _loc1_;
  668.       }
  669.       
  670.       protected function hideFromAccessibility(param1:DisplayObject) : void
  671.       {
  672.          param1.accessibilityProperties = this.hiddenAccessibility();
  673.       }
  674.       
  675.       private function _SecurityInfo_LocalizedLabel3_c() : LocalizedLabel
  676.       {
  677.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  678.          _loc1_.resourceName = "lblSystemAccess";
  679.          _loc1_.bundleName = "SecurityInfo";
  680.          _loc1_.minWidth = 115;
  681.          if(!_loc1_.document)
  682.          {
  683.             _loc1_.document = this;
  684.          }
  685.          return _loc1_;
  686.       }
  687.       
  688.       [Bindable(event="propertyChange")]
  689.       public function get identityVerified() : Boolean
  690.       {
  691.          return this._406672806identityVerified;
  692.       }
  693.       
  694.       private function _SecurityInfo_VBox2_c() : VBox
  695.       {
  696.          var _loc1_:VBox = new VBox();
  697.          _loc1_.percentWidth = 100;
  698.          _loc1_.setStyle("verticalGap",0);
  699.          if(!_loc1_.document)
  700.          {
  701.             _loc1_.document = this;
  702.          }
  703.          _loc1_.addChild(this._SecurityInfo_LocalizedText1_c());
  704.          _loc1_.addChild(this._SecurityInfo_Spacer3_c());
  705.          _loc1_.addChild(this._SecurityInfo_HBox1_c());
  706.          _loc1_.addChild(this._SecurityInfo_Spacer5_c());
  707.          _loc1_.addChild(this._SecurityInfo_HBox3_i());
  708.          return _loc1_;
  709.       }
  710.       
  711.       private function set greenCircleIcon(param1:Class) : void
  712.       {
  713.          var _loc2_:Object = this._229542092greenCircleIcon;
  714.          if(_loc2_ !== param1)
  715.          {
  716.             this._229542092greenCircleIcon = param1;
  717.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"greenCircleIcon",_loc2_,param1));
  718.          }
  719.       }
  720.       
  721.       private function _SecurityInfo_Image1_i() : Image
  722.       {
  723.          var _loc1_:Image = new Image();
  724.          this.verifiedIcon = _loc1_;
  725.          _loc1_.addEventListener("creationComplete",this.__verifiedIcon_creationComplete);
  726.          _loc1_.id = "verifiedIcon";
  727.          BindingManager.executeBindings(this,"verifiedIcon",this.verifiedIcon);
  728.          if(!_loc1_.document)
  729.          {
  730.             _loc1_.document = this;
  731.          }
  732.          return _loc1_;
  733.       }
  734.       
  735.       private function set redCircleIcon(param1:Class) : void
  736.       {
  737.          var _loc2_:Object = this._1654957862redCircleIcon;
  738.          if(_loc2_ !== param1)
  739.          {
  740.             this._1654957862redCircleIcon = param1;
  741.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redCircleIcon",_loc2_,param1));
  742.          }
  743.       }
  744.       
  745.       private function _SecurityInfo_State1_c() : State
  746.       {
  747.          var _loc1_:State = new State();
  748.          _loc1_.name = "opened";
  749.          _loc1_.overrides = [this._SecurityInfo_RemoveChild1_i(),this._SecurityInfo_AddChild1_c(),this._SecurityInfo_AddChild2_c()];
  750.          return _loc1_;
  751.       }
  752.       
  753.       public function verifiedIconComplete() : void
  754.       {
  755.          if(this.identityVerified)
  756.          {
  757.             this.hideFromAccessibility(this.verifiedIcon);
  758.          }
  759.          else
  760.          {
  761.             this.giveAccessibleName(this.verifiedIcon,"imgRedCircle","SecurityInfo");
  762.          }
  763.       }
  764.       
  765.       public function set verifiedIcon(param1:Image) : void
  766.       {
  767.          var _loc2_:Object = this._1425659039verifiedIcon;
  768.          if(_loc2_ !== param1)
  769.          {
  770.             this._1425659039verifiedIcon = param1;
  771.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"verifiedIcon",_loc2_,param1));
  772.          }
  773.       }
  774.       
  775.       public function __restrictedIcon_creationComplete(param1:FlexEvent) : void
  776.       {
  777.          this.giveAccessibleName(this.restrictedIcon,"imgRedCircle","SecurityInfo");
  778.       }
  779.       
  780.       protected function hiddenAccessibility() : AccessibilityProperties
  781.       {
  782.          var _loc1_:AccessibilityProperties = new AccessibilityProperties();
  783.          _loc1_.silent = true;
  784.          return _loc1_;
  785.       }
  786.       
  787.       private function set airIcon(param1:Class) : void
  788.       {
  789.          var _loc2_:Object = this._992840477airIcon;
  790.          if(_loc2_ !== param1)
  791.          {
  792.             this._992840477airIcon = param1;
  793.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"airIcon",_loc2_,param1));
  794.          }
  795.       }
  796.       
  797.       [Bindable(event="propertyChange")]
  798.       private function get rightArrowNative() : Class
  799.       {
  800.          return this._1501004228rightArrowNative;
  801.       }
  802.       
  803.       public function __securityHRule_creationComplete(param1:FlexEvent) : void
  804.       {
  805.          this.hideFromAccessibility(this.securityHRule);
  806.       }
  807.       
  808.       protected function updateProgressAccessibility(param1:ProgressBar) : void
  809.       {
  810.          if(param1 && param1.accessibilityProperties)
  811.          {
  812.             param1.accessibilityProperties.name = param1.percentComplete + "%";
  813.          }
  814.          if(Accessibility.active)
  815.          {
  816.             Accessibility.updateProperties();
  817.          }
  818.       }
  819.       
  820.       private function _SecurityInfo_Spacer3_c() : Spacer
  821.       {
  822.          var _loc1_:Spacer = new Spacer();
  823.          _loc1_.height = 10;
  824.          if(!_loc1_.document)
  825.          {
  826.             _loc1_.document = this;
  827.          }
  828.          return _loc1_;
  829.       }
  830.       
  831.       [Bindable(event="propertyChange")]
  832.       private function get greenCircleIcon() : Class
  833.       {
  834.          return this._229542092greenCircleIcon;
  835.       }
  836.       
  837.       private function _SecurityInfo_bindingsSetup() : Array
  838.       {
  839.          var binding:Binding = null;
  840.          var result:Array = [];
  841.          binding = new Binding(this,function():String
  842.          {
  843.             var _loc1_:* = LocalizationManager.getInstance().getString("lblMoreOptions","SecurityInfo");
  844.             return _loc1_ == undefined ? null : String(_loc1_);
  845.          },function(param1:String):void
  846.          {
  847.             moreOptionsButton.label = param1;
  848.          },"moreOptionsButton.label");
  849.          result[0] = binding;
  850.          binding = new Binding(this,function():DisplayObject
  851.          {
  852.             return moreOptionsButton;
  853.          },function(param1:DisplayObject):void
  854.          {
  855.             _SecurityInfo_RemoveChild1.target = param1;
  856.          },"_SecurityInfo_RemoveChild1.target");
  857.          result[1] = binding;
  858.          binding = new Binding(this,function():Object
  859.          {
  860.             return !!identityVerified ? greenCircleIcon : redCircleIcon;
  861.          },function(param1:Object):void
  862.          {
  863.             verifiedIcon.source = param1;
  864.          },"verifiedIcon.source");
  865.          result[2] = binding;
  866.          binding = new Binding(this,function():String
  867.          {
  868.             var _loc1_:* = !!identityVerified ? "lblVerified" : "lblUnknown";
  869.             return _loc1_ == undefined ? null : String(_loc1_);
  870.          },function(param1:String):void
  871.          {
  872.             _SecurityInfo_LocalizedLabel2.resourceName = param1;
  873.          },"_SecurityInfo_LocalizedLabel2.resourceName");
  874.          result[3] = binding;
  875.          binding = new Binding(this,function():Boolean
  876.          {
  877.             return !identityVerified;
  878.          },function(param1:Boolean):void
  879.          {
  880.             _SecurityInfo_LocalizedText2.includeInLayout = param1;
  881.          },"_SecurityInfo_LocalizedText2.includeInLayout");
  882.          result[4] = binding;
  883.          binding = new Binding(this,function():Boolean
  884.          {
  885.             return !identityVerified;
  886.          },function(param1:Boolean):void
  887.          {
  888.             _SecurityInfo_LocalizedText2.visible = param1;
  889.          },"_SecurityInfo_LocalizedText2.visible");
  890.          result[5] = binding;
  891.          binding = new Binding(this,function():Boolean
  892.          {
  893.             return !identityVerified;
  894.          },function(param1:Boolean):void
  895.          {
  896.             _SecurityInfo_HBox3.includeInLayout = param1;
  897.          },"_SecurityInfo_HBox3.includeInLayout");
  898.          result[6] = binding;
  899.          binding = new Binding(this,function():Boolean
  900.          {
  901.             return !identityVerified;
  902.          },function(param1:Boolean):void
  903.          {
  904.             _SecurityInfo_HBox3.visible = param1;
  905.          },"_SecurityInfo_HBox3.visible");
  906.          result[7] = binding;
  907.          binding = new Binding(this,function():Object
  908.          {
  909.             return redCircleIcon;
  910.          },function(param1:Object):void
  911.          {
  912.             restrictedIcon.source = param1;
  913.          },"restrictedIcon.source");
  914.          result[8] = binding;
  915.          return result;
  916.       }
  917.       
  918.       private function set rightArrow(param1:Class) : void
  919.       {
  920.          var _loc2_:Object = this._1415400627rightArrow;
  921.          if(_loc2_ !== param1)
  922.          {
  923.             this._1415400627rightArrow = param1;
  924.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"rightArrow",_loc2_,param1));
  925.          }
  926.       }
  927.       
  928.       protected function giveAccessibleName(param1:DisplayObject, param2:String, param3:String = null) : void
  929.       {
  930.          param1.accessibilityProperties = this.accessibleName(param2,param3);
  931.       }
  932.       
  933.       [Bindable(event="propertyChange")]
  934.       private function get airIcon() : Class
  935.       {
  936.          return this._992840477airIcon;
  937.       }
  938.       
  939.       public function openPanel() : void
  940.       {
  941.          currentState = "opened";
  942.       }
  943.       
  944.       private function _SecurityInfo_HBox3_i() : HBox
  945.       {
  946.          var _loc1_:HBox = new HBox();
  947.          this._SecurityInfo_HBox3 = _loc1_;
  948.          _loc1_.percentWidth = 100;
  949.          _loc1_.setStyle("verticalAlign","top");
  950.          _loc1_.setStyle("horizontalGap",14);
  951.          _loc1_.id = "_SecurityInfo_HBox3";
  952.          BindingManager.executeBindings(this,"_SecurityInfo_HBox3",this._SecurityInfo_HBox3);
  953.          if(!_loc1_.document)
  954.          {
  955.             _loc1_.document = this;
  956.          }
  957.          _loc1_.addChild(this._SecurityInfo_Image2_i());
  958.          _loc1_.addChild(this._SecurityInfo_VBox4_c());
  959.          return _loc1_;
  960.       }
  961.       
  962.       private function _SecurityInfo_LocalizedLabel2_i() : LocalizedLabel
  963.       {
  964.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  965.          this._SecurityInfo_LocalizedLabel2 = _loc1_;
  966.          _loc1_.bundleName = "SecurityInfo";
  967.          _loc1_.styleName = "formItemText";
  968.          _loc1_.id = "_SecurityInfo_LocalizedLabel2";
  969.          BindingManager.executeBindings(this,"_SecurityInfo_LocalizedLabel2",this._SecurityInfo_LocalizedLabel2);
  970.          if(!_loc1_.document)
  971.          {
  972.             _loc1_.document = this;
  973.          }
  974.          return _loc1_;
  975.       }
  976.       
  977.       private function set appIconNativeBG(param1:Class) : void
  978.       {
  979.          var _loc2_:Object = this._463497974appIconNativeBG;
  980.          if(_loc2_ !== param1)
  981.          {
  982.             this._463497974appIconNativeBG = param1;
  983.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"appIconNativeBG",_loc2_,param1));
  984.          }
  985.       }
  986.       
  987.       public function set restrictedIcon(param1:Image) : void
  988.       {
  989.          var _loc2_:Object = this._168694644restrictedIcon;
  990.          if(_loc2_ !== param1)
  991.          {
  992.             this._168694644restrictedIcon = param1;
  993.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"restrictedIcon",_loc2_,param1));
  994.          }
  995.       }
  996.       
  997.       protected function initProgressAccessibility(param1:ProgressBar) : void
  998.       {
  999.          param1.accessibilityProperties = new AccessibilityProperties();
  1000.          this.updateProgressAccessibility(param1);
  1001.       }
  1002.       
  1003.       private function set appIconBG(param1:Class) : void
  1004.       {
  1005.          var _loc2_:Object = this._1197773823appIconBG;
  1006.          if(_loc2_ !== param1)
  1007.          {
  1008.             this._1197773823appIconBG = param1;
  1009.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"appIconBG",_loc2_,param1));
  1010.          }
  1011.       }
  1012.    }
  1013. }
  1014.